<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/include.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" " http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>主页 | 短信平台</title>
<jsp:include page="/WEB-INF/jsp/common/commonlist.jsp"></jsp:include>
<style>
	#userTable tr{
		background-color:white;
	}
	#userTable td{
		background-color:white;
	}
	 	
	.errorMsg{
		padding-top:9px;
		color:red;
		vertical-align: bottom;
	}
</style>
<script>
	function bodyLoad(){
		activeMenuItem("userManageItem","listUserItem");
	}
	
	function submitForm(){
		$("#editUserForm").attr("action","doEditUser.do").submit();
		return false;
	}
</script>
</head>
<body onload="bodyLoad()">
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <div id="sidebar">
    <div id="sidebar-wrapper">
      <!-- Sidebar with logo and menu -->
      <h1 id="sidebar-title"><a href="#">短信平台</a></h1> 
      <!-- Logo (221px wide) -->

      <!-- Sidebar Profile links -->
          <!--  页面左上角的部分 -->
     <%@include file="/WEB-INF/jsp/common/leftTop.jsp" %>
     <!-- 页面左侧菜单部分 -->
     <%@include file="/WEB-INF/jsp/common/menu.jsp" %>
      
      
    </div>
  </div>
  <!-- End #sidebar -->
  <div id="main-content">
    <!-- Main Content Section with everything -->
    
   <%@ include file="/WEB-INF/jsp/common/top.jsp" %>
    <!-- End .shortcut-buttons-set -->
    <div class="clear"></div>
    <!-- End .clear -->
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>用户信息</h3>
        <p class="errorMsg">${errorMsg}</p>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab" id="tab2">          
           <table id="userTable">
           <tr>
				<td  style="width:80px;"><label style="display: inline; width: 90px;">真实姓名：</label></td>
              <td> ${user.realName } </td>              
            </tr>
            <tr>
              <td><label style="display: inline; width: 90px;">手机：</label></td>
              <td> ${user.mobile } </td>
             </tr>
            <tr>
              <td><label style="display: inline; width: 90px;">电话：</label></td>
              <td> ${user.phone } </td>              
             </tr>
            <tr>
              <td><label style="display: inline; width: 90px;">邮箱：</label></td>
              <td> ${user.email } （用户登录邮箱）</td>              
              </tr>
            
            
            <tr>
            <td> <label style="display: inline; width: 90px;">生日：</label></td>
             <td> ${user.birthDay } </td>            
              </tr>
            <tr>
            	<td><label style="display: inline; width: 90px;">单位：</label></td>
              <td> ${user.unit } </td>
			</tr>
			<tr>
			<td> <label style="display: inline; width: 90px;">地址：</label></td>
              <td> ${user.address } </td>
			</tr>
            <tr>
            <td> <label style="display: inline;">性别：</label></td>
            <td>
            	${user.sex}   
              </td>
            </tr>
            <tr>
            	<td><label style="display: inline;">需要审核：</label></td>
            	<td>
            		<c:choose>
            			<c:when test="${user.audit }">
            				是
            			</c:when>
            			<c:otherwise>
            				否
            			</c:otherwise>
            		</c:choose>
            	</td>
            </tr>
            <tr>
            <td style="vertical-align: top;">
              <label>备注：</label>
             </td>
             <td>
              	${user.note }
              </td>
            </tr>
            <tr>
            	<td style="text-align: center;" colspan="2">
              		<input class="button" type="button" value="编辑用户信息" />
				</td>
			</tr>
           </table>
            <div class="clear"></div>         
        </div>
        <!-- End #tab2 -->
      </div>
      <!-- End .content-box-content -->
    </div>
    <!-- End .content-box -->
    <div class="clear"></div>
    <%@ include file="/WEB-INF/jsp/common/copyright.jsp" %>
  </div>

</div>
</body>
</html>